/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.sh.ndt.common;

import com.sh.ndt.user.entity.User;
import com.sh.ndt.user.entity.UserDashboardDetail;
import java.io.Serializable;
import org.apache.log4j.Logger;

/**
 *
 * @author Prashanth
 */
public class SessionObjects implements Serializable{
    private static final Logger LOGGER = Logger.getLogger(SessionObjects.class);
    
    private User user = new User();
    private UserDashboardDetail userDashboardDetail= new UserDashboardDetail();
    private String examType = null;
    private long examId = 0;
    private long examTimeLimit = 0;
    private boolean r2ready = false; 

    /**
     * @return the user
     */
    public User getUser() {
        return user;
    }

    /**
     * @param user the user to set
     */
    public void setUser(User user) {
        this.user = user;
    }

    /**
     * @return the userDashboardDetail
     */
    public UserDashboardDetail getUserDashboardDetail() {
        return userDashboardDetail;
    }

    /**
     * @param userDashboardDetail the userDashboardDetail to set
     */
    public void setUserDashboardDetail(UserDashboardDetail userDashboardDetail) {
        this.userDashboardDetail = userDashboardDetail;
    }

    /**
     * @return the examType
     */
    public String getExamType() {
        return examType;
    }

    /**
     * @param examType the examType to set
     */
    public void setExamType(String examType) {
        this.examType = examType;
    }

    /**
     * @return the examId
     */
    public long getExamId() {
        return examId;
    }

    /**
     * @param examId the examId to set
     */
    public void setExamId(long examId) {
        this.examId = examId;
    }

    /**
     * @return the examTimeLimit
     */
    public long getExamTimeLimit() {
        return examTimeLimit;
    }

    /**
     * @param examTimeLimit the examTimeLimit to set
     */
    public void setExamTimeLimit(long examTimeLimit) {
        this.examTimeLimit = examTimeLimit;
    }

    /**
     * @return the r2ready
     */
    public boolean isR2ready() {
        return r2ready;
    }

    /**
     * @param r2ready the r2ready to set
     */
    public void setR2ready(boolean r2ready) {
        this.r2ready = r2ready;
    }
    
}
